package edu.sctu.practice.class02.liqing.test08;

/**
 * Created by 123456 on 2015/10/10.
 */
public class TestVehicles {
    public static void main(String[] args) {
        Vehicles a = new Vehicles("奔驰", "红色");
        Car b = new Car("奥迪", "黑色", 6);
        Truck c = new Truck("桑塔纳", "红色", 78);
        a.run();
        a.showInfo();
        b.showCar();
        c.showTruck();
    }
}